So I'mma break down the defenses
The tree hive mind system is rooted in the headspace and the crystals grown also keep everything in check they all feed and power each other and harvest energy
Aeroturite that breaks down bad energy
Anti Veil weakens bad entities by millions of times in terms of being able to use their power as they still have it like on Earth
But how the Anti Veil is built it can nullify their power even further
The crystals Harvest the most energy but there are also these old defense towers which also produce energy and often feed the trees